namespace Cos.Core.NHibernate
{
    using System.Collections.Generic;

    public class CustomUserFieldDataModel
    {
        //public virtual IEnumerable<CustomUserFieldCultureDataModel> CustomUserField_Cultures { get; set; }

        //public virtual IEnumerable<CustomUserFieldUserValueDataModel> CustomUserField_UserValues { get; set; }

        public virtual string Name { get; set; }

        public virtual string ApplicationName { get; set; }

        public virtual string DataType { get; set; }

        public virtual bool IsRequired { get; set; }

        public virtual int Ordering { get; set; }

        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return false;
            }

            return true;
        }

        public override int GetHashCode()
        {
            //return this.PK.GetHashCode();
            return 1;
        }    
    }
}